{extend name="$_admin_base_layout" /} {block name="body"}
<div class="container-fluid" style="padding-top: 10px; background-color: rgb(240, 242, 245);">
    <div class="panel">
        <div class="panel-body">
            <form class="form-inline form-search">
                <div class="form-group">
                    <label>状态：</label>
                    {html:select name="status" options="data_status" selected="status" clazz="form-control" first="全部"/}
                </div>
                <div class="form-group">
                    <label>类型：</label>
                    {html:select name="type" options="category_type" selected="type" clazz="form-control" first="全部"/}
                </div>

                <div class="form-group">
                    <label>标识/名称：</label>
                    <input type="text" class="form-control" name="title" value="{$title|default=''}">
                </div>
                <button type="submit" class="btn btn-primary">查询</button>
            </form>
        </div>
        <!-- 数据表格 -->
        <table class="table table-sorter">
            <!-- 表头 -->
            <thead>
            <tr>
                <th style="width: 20px;">#</th>
                <th>分类标识</th>
                <th>分类名称</th>
                <th>父级标识</th>
                <th>分类类型</th>
                <th>排序</th>
                <th>备注</th>
                <th>状态</th>

            </tr>
            </thead>
            <!-- 列表 -->
            <tbody>
            {notempty name="data_list"} {volist name="data_list" id="info"}
            <tr>
                <td>{$i}</td>
                <td>{$info.name}</td>
                <td>{$info.title}</td>
                <td>{$info.pname}</td>
                <td>{$info.type_text}</td>
                <td>{$info.sort}</td>
                <td>{$info.remark}</td>
                <td>{$info.status_text|raw}</td>

            </tr>
            {/volist} {else/}
            <tr>
                <td class="text-center" colspan="8">aOh! 暂时还没有内容!</td>
            </tr>
            {/notempty}
            </tbody>
            <tfoot>
            <tr>
                <td colspan="8">
                    {$pager||raw}
                </td>
            </tr>
            </tfoot>
        </table>
    </div>
</div>
{/block}
